jQuery(document).ready(function () {
  /*  selectDp();*/
});
/*
function selectDp() {
    var userId = $('#userId').val();
    showMode();
    $.ajax({
        url: rootPath + "/userCon/ajax/getUserDp",
        data: {userId:userId},
        type: 'POST',
        dataType: "text",
        ContentType: "application/json; charset=utf-8",
        success: function (data) {
            var obj = eval('(' + data + ')');//eval：将后面数据变量转化为对象
            if('0000'==obj.code){
                closeMode();
                //todo: 写模块div
                var objs = obj.data;
                if (objs == null || objs ==''){
                    $('<span></span>').appendTo($('#bind'));
                }else{
                    $('<span>部门：'+objs.depart_name+'</span></br><span>职务：'+objs.role_name+'</span>').appendTo($('#bind'));
                }
            }else{
                commonJs.errorMsg('获取系统模块失败:'+obj.msg,closeMode);
            }
        },
        error: function (data) {
            commonJs.errorMsg('获取系统模块失败',closeMode);
        }

    });
}*/
